#include "StdAfx.h"
#include "Camera.h"


Camera::Camera(Vector4 vPosition, Vector4 vLookAt, Vector4 vUp)
{
	m_vPosition = vPosition;
	m_vLookAt = vLookAt;
	m_vUp = vUp;

	m_mView.LookAt(m_vPosition, m_vLookAt, m_vUp);
}


Camera::~Camera(void)
{
}

void Camera::Move(Vector4& vOffset)
{
	m_vPosition += vOffset;
	m_vLookAt += vOffset;

	m_mView.LookAt(m_vPosition, m_vLookAt, m_vUp);
}